home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-serious-
/
comms
/
other
/
magicfile
/
example-configs
/
extractid.cfg
< prev
next >
Wrap
Text File
|
1999-06-14
|
2KB
|
64 lines
.LHA
c:LHA -l -m -M -N x
.DMS
c:dmsdescript x file_id.diz
.ZIP
c:unZip -C -o
.LZX
c:LZX -X0 -m -l x
.LZH
c:LHA -l -m -M -N x
.txt
c:TxtExtract e file_id.diz
.text
c:TxtExtract e file_id.diz
.nfo
c:TxtExtract e file_id.diz
.asc
c:TxtExtract e file_id.diz
#
^- Very important, don't remove the hash, it's the symbol used to
indicate when to stop reading the details.
[ This file is ViewArchive.cfg from previous versions ]
How to use this file
-=-=-=-=-=-=-=-=-=-=
This file is for the extracting of file_id.diz's in MagicFile.
(Note: If you do not have an archiver, please delete it in the list above
otherwise you will create a nice problem for yourself)
Adding an archive type
-=-=-=-=-=-=-=-=-=-=-=
Each archive type is split up into two parts:
1. The extension the archiver uses (e.g. '.lha').
2. The command line to execute the program to extract the File_id.
Note: If you don't write 'file_id.diz' (note: LOWERCASE) in the arguments
then MagicFile will add it onto the end when it executes the command,
automatically. Some programs require the filename to be written elsewhere
in the command line. Please note that the file_id.diz will be extracted
to the current directory, this might be SYS: - don't worry its only
temporary and will be deleted.
eg.
.LHA (4 letter extension to detect)
c:LHA -l -m -M -N x (File to run + argument to extract file + more)
- make sure there are no spaces at the end of either of these lines!
Remember! The archiver/description viewer must NEVER:
1. Prompt for user input
2. Display auto-show files
3. Be case sensitive (try to convert everything to lowercase)
4. Crash ;)
For 1-3 most archivers have modifiers to turn these off, you must enable these
modifers. If #4 happens, delete the archiver + etc !.